<template>
	<view class="mask" @click="onClickLock">
		<view class="content">
			<view class="slw-icon lock-icon">&#xe620;</view>
			<view class="box">当前未实名认证，点击实名认证</view>
		</view>
	</view>
</template>

<script>
	import {toUserRealNamePage} from '@/utils/PageRouter.js'
	export default {
		methods: {
			onClickLock() {
				toUserRealNamePage()
			}
		}
	}
</script>

<style lang="scss" scoped>
	.mask{
		position: absolute;
		width: 100%;
		height: 100%;
		left:0;
		top:0;
		z-index: 40;
		background: rgba(255, 255, 255, .97);
		.content {
			top:50%;
			left:50%;
			z-index: 30;
			position: absolute;
			transform: translateX(-50%) translateY(-50%);
			display: flex;
			align-items: center;
			flex-direction: column;
		}
		.lock-icon{
			color: $theme_color;
			font-size: 64rpx;
		}
		.box{
			border: 1rpx solid $theme_color;
			padding: 10rpx 20rpx;
			margin-top: 20rpx;
			white-space: nowrap;
			border-radius: 100rpx;
		}
	}
</style>
